package com.mt.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mt.enums.HallType;
import com.mt.pojo.CinemaSeat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author Wang
 * @Description 选择座位时
 * @date 2021/1/18-10:30
 */

@Data
public class SelectSeatVO {

    private Integer scheduleId;

    private String cinemaName;
    private String filmName;
    private String hallName;

    private HallType hallType;
    private Integer maxRow;
    private Integer maxColumn;

    @ApiModelProperty(value = "单张票价格")
    private BigDecimal price;

    @ApiModelProperty(value = "排片日期")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone="GMT+8")
    private Date scheduleDate;

    @ApiModelProperty(value = "开场时间")
    @JsonFormat(pattern = "HH:mm")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    //:ss
    @JsonFormat(pattern = "HH:mm")
    private String endTime;

    List<CinemaSeat> seatList;

}
